Accusoft.ImagXpress13.Net
FromByteArray(ImagXpress,Byte[],LoadOptions) Method




An instance of the ImagXpress workspace component. This is the main ImagXpress component that typically must be dragged onto a form first.
A byte array to obtain the image from.
Additional load options that pertain to the image.
Returns an ImageX object from the given ImagXpress instance, byte array and load options.
Syntax
'Declaration
 
Public Overloads Shared Function FromByteArray( _
   ByVal imagXpress As ImagXpress, _
   ByVal buffer() As Byte, _
   ByVal loadOptions As LoadOptions _
) As ImageX
'Usage
 
Dim imagXpress As ImagXpress
Dim buffer() As Byte
Dim loadOptions As LoadOptions
Dim value As ImageX
 
value = ImageX.FromByteArray(imagXpress, buffer, loadOptions)
public static ImageX FromByteArray( 
   ImagXpress imagXpress,
   byte[] buffer,
   LoadOptions loadOptions
)
public: static ImageX* FromByteArray( 
   ImagXpress* imagXpress,
   byte[]* buffer,
   LoadOptions* loadOptions
) 
public:
static ImageX^ FromByteArray( 
   ImagXpress^ imagXpress,
   array<byte>^ buffer,
   LoadOptions^ loadOptions
) 

Parameters

imagXpress
An instance of the ImagXpress workspace component. This is the main ImagXpress component that typically must be dragged onto a form first.
buffer
A byte array to obtain the image from.
loadOptions
Additional load options that pertain to the image.

Return Value

The newly created ImageX object.
Remarks

The ImageX object implements the IDisposable interface and the application is required to call the Dispose method when the application is done with ImageX object, otherwise memory may leak.

See Also

Reference

ImageX Class
ImageX Members
Overload List

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback